package com.bootdo.analyze.dao;

import com.bootdo.analyze.domain.GoodsSellAIDO;
import com.bootdo.analyze.util.WeiDuUtil;

import java.util.List;
import java.util.Map;

/**
 * 商品分析
 */
public interface GoodsSellAIDao {
    List<GoodsSellAIDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    //得到商品销售量
    String getSalescount(int id);

    //得到商品销售基数
    int getSalesbase(int id);

    //得到商品销售总金额
    Double getTotalPrices(int id);

    List<GoodsSellAIDO> getGoodsFluctuate(Map<String,Object> map);

    List<WeiDuUtil> getGoodsInfo(int id);

    List<GoodsSellAIDO> getStockFluctuate(Map<String,Object> map);
    //积压数量
    String getStockcount(int id);
    //积压金额
    Double getStockTotalPrices(int id);

    //库存积压
    List<GoodsSellAIDO> getInventoryBacklog(Map<String,Object> map);
    //库存周转
    List<GoodsSellAIDO> getInventoryTurnover(Map<String,Object> map);


}
